package mybatis.com.syb.dao;

import java.util.List;
import java.util.Map;

import com.syb.entity.user.SysUser;

public interface MyBatisResourcesDao {
	
	public List<Map<String,Object>> findSysResouceList(Integer id) throws Exception;
	
	public void insertResourceList(List list)throws Exception;
	
	public void delResourceList(Integer id)throws Exception;
	
	public List<Map<String,Object>> findSysRoleByName(String name)throws Exception;
	
	public List<Map<String,Object>> findSysRoleById(Integer id)throws Exception;
	
	public void deleteRole(Integer id)throws Exception;
	
	public void deleteRelRoleUserById(Integer id)throws Exception;
	
	public List<Map<String,Object>> findRoleList(Integer id)throws Exception;
	
	public void insertRoleList(List list)throws Exception;
	
	public void delRoleList(Integer id)throws Exception;
	
	public void updateUser(SysUser sys)throws Exception;

}
